places: Align popover menu with mouse position
authorCorey Berla <corey@berla.me>
Thu, 21 Apr 2022 20:17:34 +0000 (13:17 -0700)
committerAntónio Fernandes <antoniof@gnome.org>
Sat, 7 May 2022 17:50:59 +0000 (18:50 +0100)
commit7df347d9a5927037803eaca8711e52305238c691
tree03b2bd3104857cd73d20dbce97abfe3748cee0c2
parent7ed8a6ae3cba326980d247ad227f5bd107e67b06
places: Align popover menu with mouse position

The popover menu previously always pops up in the center of each
row regardless of where the mouse cursor is currently positioned.

Make the popover popup at the current mouse position. If the popover
is triggered by the keyboard (i.e. SHIFT+F10), then align it with the
start of the row.
gtk/gtkplacesview.c